<?php
IncludeFunction("tour");

if($act=="edit")
{
    $sql_select = "SELECT * FROM tblbanner WHERE iId = ".$id;
    $rs=$dbsql->query($sql_select);
    if ($dbsql->num_rows($rs)==0)
    {
        page_transfer("banner not Exists!");
    }
    $banner  = $dbsql->fetch_array($rs);
}else
{
    $banner               = array();
    $banner['iStatus']    = 1;
}
?>